﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using QianJin.Models;
using System.IO;

namespace QianJin.Views
{
    public class ProductDetailViewData : BaseViewData
    {
        public ProductDatabaseProduct Product { get; set; }
    }
    public class ProductDetail : BaseView<ProductDetailViewData>
    {
        public string DetailHtml
        {
            get
            {
                var url = ViewUtility.GetProductDetailUrl(this.Model.Product.id);
                Server.Execute(url);
                return null;
            }
        }
    }
}
